package org.elephantt.webby.ibatis;

import java.util.HashMap;

/**
 * Convenience class for iBatis parameters. Supports chained add()'s
 */
public class Params extends HashMap<String, Object> {
  public Params add(String key, Object value) {
    put(key, value);
    return this;
  }

  /**
   * Syntax nicety.
   * @return
   */
  public static Params create() {
    return new Params();
  }
}